<html lang="pt-br"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
{% block corpo %}

 
 
 

{% if projetos %}
    
<table id="list_projetos_table" class="table table-hover">
        <thead>
            <tr>
            	<th class="span5" style="text-align: left;"> Projeto </th>
                <th class="span5" style="text-align: left;"> Custo em Equipamentos </th>
                <th class="span3"  style="text-align: left;" > Custo Mensal  </th>
                <th class="span2" style="text-align: left;" > Custo Anual </th>
                
            </tr>
        </thead>
        
        
        <tbody>
      {% for p in projetos %}
            <tr>
                <td class="span6">
                
                
                   <input id="projeto_{{ p.id }}" name="projeto_{{ p.id}}" type="text" value="" placeholder="Item" class="input-large" style="display: none;">
                    <a onclick="itemButton({{ p.id }});">
                        <a href="/verprojeto?id={{p.id}}">
                        <label id="label_projeto_{{ p.id }}">
                		 {{p.nome}}         
                        </label>
                        </a>
                    </a>
                
                   
                    
                   
                </td>
                
                <td class="span2" style="text-align: left">
                  R$ {{p.custoimplantacao|floatformat:2}}
                </td>
                <td class="span2" style="text-align: left">
                  R$ {{p.getcustomensalprojeto|floatformat:2}}
                </td>
                
                <td class="span2" style="text-align: left">
                   R$ {{p.getcustoanualprojeto|floatformat:2}}
                </td>
           	<td class="span2" style="text-align: center;">
                    <div id="edit_buttons_{{ p.id}}">
           
                        <button class="btn" onclick="removeButton({{ p.id}});"><i class="icon-trash"></i></button>
                    </div>
                </td>     
                
                
            </tr>
           {% endfor %} 
            
           
    
        </tbody>
    </table>










{% else %}

Nao existem projetos

{% endif %}
{% endblock %}